package cn.yuemouren.map;

/**
 * @Author: Timi
 * @Description: 映射接口
 * @Date: 2020/6/22 8:52
 */
public interface Map<K,V> {

    void add(K key,V value);

    V set(K key,V newValue);

    boolean contain(K key);

    V remove(K key);

    int getSize();
}
